package com.aaa.entity.scl;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (ViewTestResultScl)实体类
 *
 * @author makejava
 * @since 2022-09-05 21:55:30
 */
@Data
public class ViewTestResultScl implements Serializable {
    private static final long serialVersionUID = -29735369372460601L;
    //ID
    private Integer id;
    //姓名
    private String name;
    //电话
    private String phone;

    //测试时间
    //   JsonFormat在json字符串中返回带日期格式的数据
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    //从页面传值到controller的时候，自动解析字符串日期到date
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    //躯体化
    private Double somatization;
    //强迫
    private Double compel;
    //人际敏感
    private Double interpersonal;
    //抑郁
    private Double depressed;
    //焦虑
    private Double anxiety;
    //敌对
    private Double hostile;
    //恐怖
    private Double terror;
    //偏执
    private Double bigoted;
    //精神
    private Double psychotic;
    //睡眠及饮食
    private Double sleepanddiet;

    //测试计划ID
    private Integer testPlanId;
    //测试计划名称
    private String testName;
    //问题学生
    private Integer studentType;
}

